<template>
    <div>
        <div class="feedback">
            <van-cell-group>
                <van-cell :title="title" is-link title-class="title" :to="to" />
                <van-cell :title="item.title" :label="item.content" v-for="item in feedback" :key="item.id" />
            </van-cell-group>
        </div>
    </div>
</template>

<script>
export default {
    name: "feedback",
    props: {
        feedback: {
            type: Array,
            default: () => [],
        },
        title: {
            type: String,
            default: "",
        },
        to: {
            type: String,
            default: "",
        },
    },
    data() {
        return {};
    },
    mounted() {},
    methods: {},
};
</script>

<style lang='less' scoped>
.feedback {
    margin: 1rem 0rem;
    .title {
        color: #000;
        font-weight: 600;
    }
}
</style>